package com.free.semantic.infrastruct.repository;

import com.free.semantic.model.conceptmodel.SemanticNetwork;
import com.free.semantic.model.conceptmodel.SemanticNetworkDelta;

import java.util.List;

public interface SemanticNetworkRepository {

    SemanticNetwork findById(Long id);

    List<SemanticNetwork> findByUserId(Long userId);

    List<SemanticNetwork> findAll();

    Long save(SemanticNetwork semanticNetwork);

    Long save(SemanticNetworkDelta semanticNetwork);

    void update(SemanticNetwork semanticNetwork);

    void deleteById(Long id);
} 